Any object—a button, field, card, background, or stack—can have a script. Here's how to edit a script:
• To edit a button or a field's script, select it using the Button or Field tool and choose Button Info or Field Info from the Objects menu. Or double click any button or field. Click Script.
• To edit other objects' scripts, go to the card, background, or stack whose script you want to edit and choose the corresponding command from the Objects menu. Click Script.